package com.sinog.basic;

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @desc basic启动类
 * @author zy
 * @date 2019年6月20日 15点48分
 */
@Slf4j
@EnableDiscoveryClient
@SpringBootApplication(exclude = MongoAutoConfiguration.class)
@EnableTransactionManagement
@MapperScan("com.sinog.basic.mapper")
public class BasicApplication {

    public static void main(String[] args) {
        SpringApplication.run(BasicApplication.class,args);
        log.info("========================================");
        log.info("========================================");
        log.info("========================================");
        log.info("====    Basic Service Startup ... ======");
        log.info("========================================");
        log.info("========================================");
        log.info("========================================");
    }
}